﻿using System.Collections.Generic;

namespace Sustainalytics.Controversies.Service.Models
{
    public class MapDataDto
    {
        public MapDataDto()
        {
            DetailsToolTip = new List<MapDataDtoDetails>();
        }
        public LocationDto GeoData { get; set; }

        public MapLocationType MapLocationType { get; set; }

        public List<MapDataDtoDetails> DetailsToolTip { get; set; }

    }

    public class MapDataDtoDetails  
    {
        public string Link { get; set; }
        public string Name { get; set; }

        public override string ToString()
        {
            return string.Format("Link: {0}, Name: {1}", Link, Name);
        }
    }


    public enum MapLocationType
    {
        HQ,Incident
    }
}
